{include file="public/header" /}
<div class="page">
    <div class="fixed-bar">
        <div class="item-title">
            <div class="subject">
                <h3>{$Think.lang.fuwu_personal}</h3>
                <h5></h5>
            </div>
            {include file="public/admin_items" /}
        </div>
    </div>
    <table class="ds-default-table">
            <thead>
            <tr class="thead">
                <th class="w24"></th>
                <th>省份</th>
                <th>城市</th>
                <th class="w150">区域</th>
                <th class="w150">{$Think.lang.fuwu_personal_createdtime}</th>
                <th class="w150">{$Think.lang.fuwu_personal_updatedtime}</th>
                <th class="w120 align-center">{$Think.lang.ds_handle}</th>
            </tr>
            </thead>
            <tbody>
            {notempty name="$data"}
            {foreach name="data" item="v"}
            <tr class="hover edit" id="ds_row_{$v.id}">
                <td><input value="{$v.id}" class="checkitem" type="checkbox" name="del_brand_id[]"></td>
                <td class="name">{$v.area_name1}</td>
                <td class="name">{$v.area_name2}</td>
                <td class="name">{$v.areastr}</td>
                <td class="name">{$v.created_at}</td>
                <td class="name">{$v.updated_at}</td>
                <td class="align-center">
                    <a href="{:url('Fupersonal/address_edit',['id'=>$v.id])}" class="dsui-btn-edit"><i class="iconfont"></i>{$Think.lang.ds_edit}</a>
                    <a href="javascript:dsLayerConfirm('{:url('Fupersonal/address_del',['id'=>$v.id])}','{$Think.lang.ds_ensure_del}',{$v.id})" class="dsui-btn-del"><i class="iconfont"></i>{$Think.lang.ds_del}</a>
                </td>
            </tr>
           {/foreach}
           {else /}
            <tr class="no_data">
                <td colspan="10">{$Think.lang.ds_no_record}</td>
            </tr>
            {/notempty}
            </tbody>
            <tfoot>
                {notempty name="data"}
                <tr colspan="15" class="tfoot">
                    <td><input type="checkbox" class="checkall" id="checkallBottom"></td>
                    <td colspan="16">
                        <label for="checkallBottom">{$Think.lang.ds_select_all}</label>
                        &nbsp;&nbsp;<a href="JavaScript:void(0);" class="btn btn-small" onclick="submit_delete_batch()"><span>{$Think.lang.ds_del}</span></a>
                    </td>
                </tr>
                {/notempty}
            </tfoot>
        </table>
    {$showpage}
    <div class="clear"></div>
</div>
<script type="text/javascript" src="{$Think.ADMIN_SITE_ROOT}/js/jquery.edit.js" charset="utf-8"></script>
<script type="text/javascript">
    function submit_delete(ids_str){
        _uri = ADMINSITEURL+"/Fupersonal/address_del.html?id=" + ids_str;
        dsLayerConfirm(_uri,'{$Think.lang.ds_ensure_del}');
    }
</script>
